package com.zhentao.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.pojo.Orders;
import com.zhentao.vo.QueryParam;
import com.zhentao.vo.Result;

/**
* @author ls
* @description 针对表【orders】的数据库操作Service
* @createDate 2025-07-01 15:29:55
*/
public interface OrdersService extends IService<Orders> {
    Page<Orders> findOrders(QueryParam queryParam);
    Result getOrderStats();
    /**
     * 支付回调时更新订单状态
     */
    boolean updateOrderStatus(String orderSn, String status, String totalAmount);
}
